package com.js.rtu.event;

import android.bluetooth.BluetoothDevice;

/**
 * Created by wz on 2021/4/22.
 */
public class onConnectionStateChangedEvent {
    BluetoothDevice device;
    int state;

    public onConnectionStateChangedEvent(BluetoothDevice device, int state) {
        this.device = device;
        this.state = state;
    }

    public BluetoothDevice getDevice() {
        return device;
    }

    public void setDevice(BluetoothDevice device) {
        this.device = device;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
